-
Notifications
You must be signed in to change notification settings - Fork 8
DEV-14916 #16
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
DEV-14916 #16
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Mostly small comments from me, but overall on the right track!
| identifier_prefix = "example-rds-pg-" | ||
| postgres_name = "example0" | ||
| parameter_group_name = "example-rds-postgres-pg" | ||
| username = "example-tamr-master" | ||
| password = "foo" #tfsec:ignore:GEN003 | ||
| username = "exampleUsername" | ||
| password = "examplePassword" #tfsec:ignore:GEN003 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Now that you have a var.name-prefix you could probably include it in some of these fields in place of example
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
True but the limitation with username is that is does not accept any '-'s so while setting the name-prefix, we need to be mindful of that otherwise the apply would fail. Else we would need to massage the string to remove any special characters.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Overall in great shape, just 1 minor thing
variables.tf
Outdated
|
|
||
| variable "ingress_sg_ids" { | ||
| variable "security_group_ids" { | ||
| description = "List of security group IDs to allow ingress from (i.e. Spark cluster SG IDs, Tamr VM SG ID)" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Let's update this description. Can borrow from the terraform docs:
https://registry.terraform.io/modules/terraform-aws-modules/rds/aws/latest#input_vpc_security_group_ids
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Done
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
No description provided.